package com.haiya.identityaccess.domain.identity.model;

/**
 * @author qiaoguoqiang
 */
public enum GroupMemberType {
    Group {
        @Override
        public boolean isGroup() {
            return true;
        }
    },

    User {
        @Override
        public boolean isUser() {
            return true;
        }
    };

    public boolean isGroup() {
        return false;
    }

    public boolean isUser() {
        return false;
    }
}
